using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class SysLoginlogEntity : EntityBase
{
public SysLoginlogTable TableSchema
{
get
{
return (SysLoginlogTable)_tableSchema;
}}

public SysLoginlogEntity()
{
_tableSchema = SysLoginlogTable.Current;
}

#region 属性列表

public Int32? LoginLogID
{
get { return Convert.ToInt32(GetData(SysLoginlogTable.C_LOGINLOGID)); }
set { SetData(SysLoginlogTable.C_LOGINLOGID, value); }
}

public String UserID
{
get { return Convert.ToString(GetData(SysLoginlogTable.C_USERID)); }
set { SetData(SysLoginlogTable.C_USERID, value); }
}

public String UserName
{
get { return Convert.ToString(GetData(SysLoginlogTable.C_USERNAME)); }
set { SetData(SysLoginlogTable.C_USERNAME, value); }
}

public DateTime? LogInTime
{
get { return Convert.ToDateTime(GetData(SysLoginlogTable.C_LOGINTIME)); }
set { SetData(SysLoginlogTable.C_LOGINTIME, value); }
}

public DateTime? LogOutTime
{
get { return Convert.ToDateTime(GetData(SysLoginlogTable.C_LOGOUTTIME)); }
set { SetData(SysLoginlogTable.C_LOGOUTTIME, value); }
}

public String IPAddress
{
get { return Convert.ToString(GetData(SysLoginlogTable.C_IPADDRESS)); }
set { SetData(SysLoginlogTable.C_IPADDRESS, value); }
}

public String LoginResult
{
get { return Convert.ToString(GetData(SysLoginlogTable.C_LOGINRESULT)); }
set { SetData(SysLoginlogTable.C_LOGINRESULT, value); }
}

#endregion
}
}